package com.sfh.cpc.home.model.request;

import com.sfh.cpc.com.entity.ENote;
import com.sfh.cpc.com.entity.RspBase;
import com.sfh.cpc.com.req.ReqBase;

import java.util.List;

/**
 * 功能描述:话题
 *
 * @author SunFeihu 孙飞虎
 * @date 2019/5/13
 */
public class ReqQueryHomeRecomNote extends ReqBase<RspBase<List<ENote>>> {


    public static final int TYPE_A = 1;
    public static final int TYPE_B = 2;
    public static final int TYPE_C = 3;
    public static final int TYPE_D = 4;

    int  index = 0;
    public ReqQueryHomeRecomNote(int index,int type) {
        //1= [APP 首页使用]推荐话题 ,2 = [APP 首页使用]热门 话题 ,3=[APP 首页使用]最新话题 4[APP 首页使用]VIP 话题
        super(type == 1 ? "note/queryHomeRecomNote" :
                type == 2 ? "note/queryHomeHotNote" :
                        type == 3 ? "note/queryHomeHotNote" : "note/queryHomeVIPNote"
        );
        this.index = index;
    }
}
